package com.xjczjj.model.common;

public class ResultCode {
    /**
     * 成功状态码
     */
    public static Integer SUCCESS = 200;
    /**
     * 失败状态码
     */
    public static Integer ERROR = 500;

    /**
     * 未登录状态码
     */
    public static final int NO_LOGIN = 401;
    /**
     * 请求错误
     */
    public static final int REQUEST_ERROR = 400;
    /**
     * 请求地址错误
     */
    public static final int REQUEST_URL_ERROR = 404;
    /**
     * 请求超时
     */
    public static final int REQUEST_TIMEOUT = 408;
    /**
     * 服务器错误
     */
    public static final int SERVER_ERROR = 500;
    /**
     * 服务未实现
     */
    public static final int SERVER_NOT_IMPLEMENTED = 501;
    /**
     * 网关错误
     */
    public static final int SERVER_GATEWAY_ERROR = 502;
    /**
     * 服务不可用
     */
    public static final int SERVER_UNAVAILABLE = 503;
    /**
     * 网关超时
     */
    public static final int SERVER_GATEWAY_TIMEOUT = 504;
    /**
     * 用户名和密码错误
     */
    public static final int USERNAME_PASSWORD_ERROR = 601;
    /**
     * 请求参数错误
     */
    public static final int REQUEST_PARAM_ERROR = 602;
}
